﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CreativeMinds.Umbraco.Dictionary2JS {

	public class Dic2JSExtension {

		public string CleanForJavascript(string input) {
			return input.Replace("'", "\\'").Replace(Environment.NewLine, "\\n");
		}
	}
}